package com.github.ylt.protocol.http;

import com.github.ylt.protocol.http.handler.HttpHandler;
import com.github.ylt.protocol.http.server.ServerImpl;

import java.util.Map;

/**
 * 目前HttpContext没什么用，原本想着加过滤器的，目前不加了
 */
public abstract class HttpContext {

    protected HttpContext(){}
    public abstract HttpHandler getHandler();
    public abstract void setHandler(HttpHandler handler);
    public abstract String getPath();
    public abstract ServerImpl getServer();
    public abstract Map<String,Object> getAttributes() ;

}
